package com.sun.dream.fish.mvc.exception;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * Description: DSF（Dream-Salted-Fish）自定义异常
 * Created By ljl on 2023/11/24.
 */
@Data
public class DSFException extends RuntimeException {
    private ValidResult validResult = new ValidResult();

    public DSFException(String message) {
        super(message);
    }

    public DSFException(String message, ValidResult validResult) {
        super(message);
        this.validResult = validResult;
    }
}
